package com.junzhiit.nengji.shop.model;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.bainaeco.framework.base.model.BaseModel;
import com.bainaeco.framework.util.DateUtil;
import com.bainaeco.framework.util.serializer.CustomDateSerializerHMS;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

public class RebateInfo extends BaseModel{

	private static final long serialVersionUID = 1L;

	private String  rebateCategoryId;
	
	private String  goodsId;
	
	private String orderId;
	
	private String orderGoodsId;
	
	private String  userId;
	
	private String  shopId;
	
	private Integer userCode;
	
	private Integer startCode;
	
	private Integer endCode;
	
	private Double rebatePrice;
	
	private Integer rebateCode;
	
	private Integer status;
	
	private Double goodsPrice;
	
	private String goodsName;
	
	@DateTimeFormat(pattern = DateUtil.DATETIME_PATTERN_DEFAULT)
	@JsonSerialize(using = CustomDateSerializerHMS.class)
	private Date completeTime;
	
	
	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public Date getCompleteTime() {
		return completeTime;
	}

	public void setCompleteTime(Date completeTime) {
		this.completeTime = completeTime;
	}

	public Integer getStartCode() {
		return startCode;
	}

	public void setStartCode(Integer startCode) {
		this.startCode = startCode;
	}

	public Integer getEndCode() {
		return endCode;
	}

	public void setEndCode(Integer endCode) {
		this.endCode = endCode;
	}

	public Integer getUserCode() {
		return userCode;
	}

	public void setUserCode(Integer userCode) {
		this.userCode = userCode;
	}

	public String getRebateCategoryId() {
		return rebateCategoryId;
	}

	public void setRebateCategoryId(String rebateCategoryId) {
		this.rebateCategoryId = rebateCategoryId;
	}

	public String getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(String goodsId) {
		this.goodsId = goodsId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getShopId() {
		return shopId;
	}

	public void setShopId(String shopId) {
		this.shopId = shopId;
	}

	public Double getRebatePrice() {
		return rebatePrice;
	}

	public void setRebatePrice(Double rebatePrice) {
		this.rebatePrice = rebatePrice;
	}

	public Integer getRebateCode() {
		return rebateCode;
	}

	public void setRebateCode(Integer rebateCode) {
		this.rebateCode = rebateCode;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Double getGoodsPrice() {
		return goodsPrice;
	}

	public void setGoodsPrice(Double goodsPrice) {
		this.goodsPrice = goodsPrice;
	}

	public String getOrderGoodsId() {
		return orderGoodsId;
	}

	public void setOrderGoodsId(String orderGoodsId) {
		this.orderGoodsId = orderGoodsId;
	}
	
}
